#include<stdio.h>
int main()
{
    int m,t,s;
    while(~scanf("%d%d%d",&m,&t,&s))
    {
        if(t==0)
        {
            printf("0\n");
            continue;
        }
        int k = s/t;
        if(k>m)
        {
            printf("0\n");
        }
        else if(k<m)
        {
            if(s%t != 0)
            {
                printf("%d\n",m-k-1);
            }
            else{
                printf("%d\n",m-k);
            }
        }
        else{
            printf("0\n");
        }
    }
    return 0;
}